Warmup

General Action Statement

Syntax samples

WARMUP

WARMUP

IF thruput = 50 THEN WARMUP

Description

Instructs the simulation to end the warmup period by resetting all the statistics and erasing relevant time series files. Only one WARMUP statement may be used in the simulation.

Please note

If multiple WARMUP statements are encountered or a WARMUP statement is used in addition to the warmup time specified in the Run Options dialog, ProModel will generate a warning to inform you that this has occurred. Only the first warmup encountered (the statement or the Run Options setting) will actually be executed. While the statement will be encountered within the logic, the Run Options setting will be executed at the specific time indicated in the dialog.

Valid In

Any logic.

Example

Suppose you want to base the warmup period on 2,000 entities being processed rather than on a lapse of time. You could increment a variable (e.g., Total_Processed) whenever an entity exited the system. Enter the following logic in an independent subroutine activated from the initialization logic:

WAIT UNTIL Total_Processed = 2000

WARMUP

See Also

See Simulation Options for more information on warm-up periods.